package net.tv90.bfmccore.event;

import lombok.Getter;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

import java.util.HashMap;

public class AttachmentUnlockEvent extends Event {
    private static final HandlerList Handlers = new HandlerList();
    private final @Getter String weaponType;
    private final @Getter int weaponCount;
    private final @Getter Player player;
    private final @Getter HashMap<String, Integer> map;
    public AttachmentUnlockEvent(String weaponType, int weaponCount, Player player, HashMap<String, Integer> map) {
        this.weaponType = weaponType;
        this.weaponCount = weaponCount;
        this.player = player;
        this.map = map;
    }
    public static HandlerList getHandlerList() {
        return Handlers;
    }
    @Override
    public HandlerList getHandlers() {
        return Handlers;
    }
}
